package com.cn.wanxi.test;

public class OtherSwitch {
    public static void main(String[] args) {
        String s="a";
        switch (s) {
            case "a":
//                System.out.println(1);
//                break;
            case "b":
                System.out.println(1);
                break;
            case "c":
//                System.out.println(2);
//                break;
            case "d":
                System.out.println(2);
                break;
            default:
                System.out.println("你输入的运算符我不会");
                break;
        }
    }
}
